package ru.lukyanets.transmission.protocol.model.session.stats;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Getter;
import lombok.Setter;

/**
 * @author slukyanets
 */
@SuppressWarnings("unused")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "activeTorrentCount",
        "cumulative-stats",
        "current-stats",
        "downloadSpeed",
        "pausedTorrentCount",
        "torrentCount",
        "uploadSpeed"
})
@Getter
@Setter
public class SessionStats {
    @JsonProperty("activeTorrentCount")
    private int activeTorrentCount;
    @JsonProperty("cumulative-stats")
    private CumulativeStats cumulativeStats;
    @JsonProperty("current-stats")
    private CurrentStats currentStats;
    @JsonProperty("downloadSpeed")
    private long downloadSpeed;
    @JsonProperty("pausedTorrentCount")
    private int pausedTorrentCount;
    @JsonProperty("torrentCount")
    private int torrentCount;
    @JsonProperty("uploadSpeed")
    private long uploadSpeed;
}
